<%= render :partial =>'/store/toolbar'%>
<div id="content_container">
<div class="hot_container" >
  <div class="title"><span class='title_content'>物流方式列表</span></div>
  <table class="admin"  cellpadding="0" cellspacing="0" >
    <thead>
    <th>名称</th>
    <th>默认费用</th>
    <th>免运费件数</th>
    <th colspan="3"></th>
    </thead>
    <% for logistic in @logistics %>
      <tr>
        <td><%= logistic.name%></td>
        <td><%= logistic.default_fee %></td>
        <td><%= logistic.free_quantity %></td>
        <td style="width:6em;" class="action_link"><%= link_to '设定运费',"/logistics/edit_province/#{logistic.id}",:class=>"action_logistic" %></td>
        <td style="width:4em;" class="action_link"><%= link_to '编辑', edit_logistic_path(logistic),:class=>"action_edit" %></td>
        <td style="width:4em;" class="action_link"><%= link_to '删除', logistic, :confirm => 'Are you sure?', :method => :delete,:class=>"action_delete" %></td>
      </tr>
    <% end %>
  </table>
</div>
<div class="action_link">
  <%= link_to '添加物流方式', new_logistic_path,:class=>"action_add" %>
  <%= link_to '取消', '/store/mine',:class=>'action_back' %>
</div>
</div>